// 表格字段配置
const columnsData: any = [
    {
        prop: 'merchantId',
        label: 'ID',
        align: 'center',
        width: 50,
    },
    {
        prop: 'merchantName',
        label: '商铺名称',
        align: 'center',
        width: 150,
    },
    {
        prop: 'merchantLogo',
        label: '商铺头像',
        align: 'center',
        type: 'image',
        width: 150,
    },
    {
        prop: 'categoryName',
        label: '经营类型',
        align: 'center',
        width: 80,
    },
    {
        prop: 'businessLicense',
        label: '营业执照',
        align: 'center',
        type: 'image',
        width: 150,
    },
    {
        prop: 'merchantBoss',
        label: '负责人',
        align: 'center',
        width: 80,
    },
    {
        prop: 'contactPhone',
        label: '联系电话',
        align: 'center',
        width: 130,
    },
    {
        prop: 'merchantStatus',
        label: '经营状态',
        align: 'center',
        type: 'status',
        option: ['关闭','正常'],
        width: 105,
    },
    {
        prop: 'checkStatus',
        label: '审核状态',
        align: 'center',
        type: 'status',
        option: ['待审核','已通过'],
        width: 105,
    },
    {
        prop: 'address',
        label: '商铺位置',
        align: 'center',
        width: 95,
    },
]

// 查询表单配置
const queryData: any = [
    { label: "商铺名称", prop: 'merchantName', type: 'text' },
    { label: "经营类型", prop: 'categoryId', type: 'select' },
    { label: "经营状态", prop: 'merchantStatus', type: 'select' , options: [{label: '关闭', value: 0}, {label: '正常', value: 1}]},
]

export {
    columnsData,
    queryData
}